define(['screenShort'], function (screenShort) {
    Window.container = Window.container || {};


    dsBridge.registerAsyn('EmapUtils_screenShort', function (sourceId, responseCallback) {
        var element = document.getElementById('egismap');
        html2canvas(element, {
            useCORS: true
        }).then((canvas) => {
             var base64 = canvas.toDataURL();
             responseCallback(base64);
        });

    })

})